package com.jeecms.wicool.dao.groupBuy;

import com.jeecms.common.hibernate3.Updater;
import com.jeecms.wicool.entity.groupBuy.GroupBuySpecification;

import java.util.List;

/**
 * Created by cuiyanlei on 15/6/10.
 */
public interface GroupBuySpecificationDao {

    public GroupBuySpecification save(GroupBuySpecification bean);

    public GroupBuySpecification deleteById(Integer id);

    public GroupBuySpecification updateByUpdater(Updater<GroupBuySpecification> updater);

    public GroupBuySpecification findById(Integer id);

    public List<GroupBuySpecification> getAll(Integer foreignId);
}
